import MaterialLib from '../../src/ZwUnityKitMaterialLib/index.vue';

export default {
    title: 'Scrm System/ZwUnityMaterialContent Library/MaterialLib',
    component: MaterialLib,
    tags: ['autodocs'],
    argTypes: {
        modelValue: {
            type: { name: 'boolean', required: false },
            description: '弹框是否展示',
            table: {
                type: { summary: 'boolean' },
                defaultValue: { summary: false }
            },
            control: { type: 'boolean' }
        },
        showTabsList: {
            type: { name: 'array', required: false },
            description: '现在tabs的数组，值是tabs的id',
            table: {
                type: { summary: 'array' },
                defaultValue: { summary: [1, 2, 3, 4, 5, 6] }
            },
            control: { type: 'array' }
        },
        maxNum: {
            type: { name: 'number', required: false },
            description: '选择素材最大数',
            table: {
                type: { summary: 'number' },
                defaultValue: { summary: 9 }
            },
            control: { type: 'number' }
        }
    }
};

export const BaseUsage = {
    args: {
        modelValue: false
    }
};
